package com.kaifamiao.month03.day0323;

public class Sum {

    public static void main(String[] args) {
        System.out.println(sum());
    }
    public static double sum(){
        double sum = 0;
        for(double i = 1; i < 8; i ++){
            sum += i / (i + 1);
        }
        return sum;
    }
}
